Skip to content

Conversation

matthijskooijman
Copy link
Collaborator

This allows both uppercase and lowercase properties (e.g. vid and pid)
from boards.txt and matches what the Java IDE does:

https://github.com/arduino/Arduino/blob/5e30bec23/arduino-core/src/cc/arduino/packages/BoardPort.java#L185

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs do not seem needed
  • What kind of change does this PR introduce?
    Bugfix
  • What is the current behavior?
    USB ids or other identifying properties from a (serial) port are matched case sensitively, so if boards.txt specifies uppercase usb ids, board list does not match the port with the corresponding board.
  • Does this PR introduce a breaking change?
    No.

@ubidefeo ubidefeo requested a review from cmaglie September 11, 2020 20:49
This allows both uppercase and lowercase properties (e.g. vid and pid)
from boards.txt and matches what the Java IDE does:

    https://github.com/arduino/Arduino/blob/5e30bec23/arduino-core/src/cc/arduino/packages/BoardPort.java#L185
@cmaglie cmaglie merged commit 9d7041e into arduino:master Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants